Gender diversity across boardrooms is increasing, but fewer women are reaching the top positions, according to new research.